package edu.fim.presentation.controller;

import java.sql.SQLException;
import java.util.List;

import edu.fim.core.service.FoodService;
import edu.fim.core.service.locator.ServiceLocator;
import edu.fim.presentation.model.bean.Food;


public class FoodController {

	public List<Food> findAll() throws SQLException {
		FoodService service = ServiceLocator.getImplementation(FoodService.class);
		return service.findAll();
	}
}